package com.itheima.test;

public class Test18 {
    public static void main(String[] args) {
        //需求1：打印1-5
        //需求2：打印5-1
        for (int i = 1 ; i <= 5 ; i++) {
            System.out.println(i);
        }
        for (int j = 5 ; j > 0 ; j--) {
            System.out.println(j);
        }
    }
}
